$(document).ready(function() {
	var citydata = returnCitySN;
	console.log(citydata.cname);
	$("#citytext").text(citydata.cname);
	//返回对象Object {cip: "122.70.200.146", cid: "110000", cname: "北京市"}
	getdata();
});

var getdata = (function(result) {
	var prourl = dataport + '/ProjectConditionController/getProjectRoughlyImg';
	$.post(prourl, function(result) {
		var code = result.code;
		var list = result.object;
		if(code == 0) {
			$("#construction-data").text(list.construction);
			$("#design-data").text(list.designer);
			$("#supervisor-data").text(list.supervisor);
			$("#contractor-data").text(list.contractor);
			$("#labour-data").text(list.labour);
			$("#position-data").text(list.position);
			$("#area-data").text(list.area);
			$("#buildingarea-data").text(list.buildingarea);
			$("#buildinghigh-data").text(list.buildinghigh);
			$("#scale-data").text(list.scale);
		}
	})
})